
package vo;

public class ReportVO {
    
    private int reportId;
    private String issueDate;
    private String location;
    private String type;
    private String franchise;
    private String branch;
    private String startDate;
    private String endDate;
    private String amount;

    public ReportVO() {
    }

    public ReportVO(int reportId) {
        this.reportId = reportId;
    }

    public ReportVO(int reportId, String issueDate, String location, String type, String franchise, String branch, String startDate, String endDate, String amount) {
        this.reportId = reportId;
        this.issueDate = issueDate;
        this.location = location;
        this.type = type;
        this.franchise = franchise;
        this.branch = branch;
        this.startDate = startDate;
        this.endDate = endDate;
        this.amount = amount;
    }
    
    public ReportVO(String issueDate, String location, String type, String franchise, String branch, String startDate, String endDate, String amount) {
        this.issueDate = issueDate;
        this.location = location;
        this.type = type;
        this.franchise = franchise;
        this.branch = branch;
        this.startDate = startDate;
        this.endDate = endDate;
        this.amount = amount;
    }

    public Integer getReportId() {
        return reportId;
    }

    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFranchise() {
        return franchise;
    }

    public void setFranchise(String franchise) {
        this.franchise = franchise;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 67 * hash + this.reportId;
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        if (!(object instanceof ReportVO)) 
            return false;
        ReportVO other = (ReportVO) object;
        if (this.reportId!=other.reportId) 
            return false;
        return true;
    }

    @Override
    public String toString() {
        return reportId+": "+type;
    }
    
}